Coupled Schema Transformation and Data Conversion for XML and SQL
نویسندگان
چکیده
A two-level data transformation consists of a type-level transformation of a data format coupled with value-level transformations of data instances corresponding to that format. We have implemented a system for performing two-level transformations on XML schemas and their corresponding documents, and on SQL schemas and the databases that they describe. The core of the system consists of a combinator library for composing type-changing rewrite rules that preserve structural information and referential constraints. We discuss the implementation of the system’s core library, and of its SQL and XML front-ends in the functional language Haskell. We show how the system can be used to tackle various two-level transformation scenarios, such as XML schema evolution coupled with document migration, and hierarchical-relational data mappings that convert between XML documents and SQL databases.
منابع مشابه
Evolution of Schema of XML-documents Stored in a Relational Database
XML is today a standard for manipulating semistructured data. One of widely used industrial solutions, especially for systems with a fairly well defined data structure, is storing XML in a relational database, while XML queries are converted to SQL queries to the underlying relational database. A software product that produces XML “interface” to an underlying relational database commonly requir...
متن کاملConverting Relational Database into XML Document
XML (Extensible Markup Language) is emerging and gradually accepted as the standard for data interchange in the Internet world. Interoperation of relational database and XML database involves schema and data translations. Through EER (extended entity relationship) model can convert the schema of relational database into XML. The semantics of the relational database, captured in EER diagram, are...
متن کاملConvert Xml Schema To Relational Schema
You can create source models from your relational source schema data of your metadata to be required in order to convert datatypes or to interpret your metadata. As with Designer's JDBC, Salesforce and WSDL importers, the XML File. Editing and validation support for XML Schema, Relax NG, NVDL scripts, Browse, edit, or query using XQuery and SQL with native XML or relational oXygen includes a to...
متن کاملFrom COBOL to SQL through Program Transformation and XML
The cost of maintaining legacy software systems has spiralled and their maintenance became a burden for many organisations. In this paper we present the first prototype of the LOBS-COQ system that attempts to transform COBOL legacy systems into relational database schema and produce SQL statements for data querying. The approach first transforms the COBOL source code into XML files, which are t...
متن کاملXML to Relational Conversion Using Theory of Regular Tree Grammars
In this paper, we study the different steps of translation from XML to relational models, while maintaining semantic constraints. Our work is based on the theory of regular tree grammars, which provides a useful formal framework for understanding various aspects of XML schema languages. We first study two normal form representations for regular tree grammars. The first normal form representatio...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007